Auto merge of #1617 - alexcrichton:fix-kind-after-the-fact, r=brson
authorbors <bors@rust-lang.org>
Wed, 27 May 2015 18:29:48 +0000 (18:29 +0000)
committerbors <bors@rust-lang.org>
Wed, 27 May 2015 18:29:48 +0000 (18:29 +0000)
commit980d7cf94ed403c7e93205497809ba5d6e48990c
tree49ee58e7fb763003795558072d121355403b00e1
parent6c86f13312e62206a5da0443ae0d69bfd1dc1822
parentbcc6c5c3a9a164055f8f5165b9aefdbce6518954
Auto merge of #1617 - alexcrichton:fix-kind-after-the-fact, r=brson

The wrong kind was mistakenly used in the case of having a dependency on a
plugin.

Unfortunately I don't know of a great way to test this, so no unit test is included for now.

Closes #1612
src/cargo/ops/cargo_rustc/mod.rs